﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DTO;

namespace DAO
{
    public class Nganh_DAO
    {
        public static DataTable nganh_load()
        {
            DataTable dt = DataProvider.SelectStoreProcedure("nganh_load");
            return dt;
        }

        public static DataTable nganh_load_theoma(string id_nganh)
        {
            List<SqlParameter> ParaArr = new List<SqlParameter>();
            string procname = "nganh_load_theoma";
            ParaArr.Add(new SqlParameter("@id_nganh", id_nganh));
            return DataProvider.SelectStoreProcedure(procname, ParaArr);
        }

  
    }
}
